function sss(){

$.ajax({
    type: "get",
    url: "/getcourse",
    contentType: "application/json;charset=utf-8",
    dataType:"json",
    success:function(data) {
        //清空课程表
        for(var i = 1; i < 8; i++) {
            for(var j = 1; j < 8; j++) {
                $("#table_" + j + "_" + i).html("");
            }
        }
        //遍历课程表
        for(var i = 0; i < data.length; i++) {
            $("#table_" + data[i].week + "_" + data[i].jieci).html(data[i].cname);
        }
        alert(1);
    }

});
}